package middle.ground.core.exception;

import org.springframework.http.HttpStatus;

/**
 * 没有权限异常
 *
 * @author jrl
 * @author jrl
 * @date 2020-12-01
 */
public class NotAuthorizedException extends BusinessException{

	private static final long serialVersionUID = -8955362618359481710L;

	public NotAuthorizedException() {
		super(HttpStatus.UNAUTHORIZED.value(), "Not Authorized");
	}

	public NotAuthorizedException(String message) {
		super(HttpStatus.UNAUTHORIZED.value(), message);
	}

}
